<?php
//支付地址跳转
if ($code['payNow'] & 4 || $code['payNow'] & 2) {
} else {
    status_header(301);
    header("location:$url");
    exit;
}
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
<title> 在线支付 - <?=SITE_NAME?> </title>
<?php include VIEWS.'header.html'?>
</head>

<body>

<?php include VIEWS.'topbar.html'?>

<div id="content">

    <?php include VIEWS.'leftnav.html'?>

    <div id="right">

<h1><?php if($list['id']): echo $list['id']?>号订单<?php endif?>在线支付</h1>

<?php if($code['payNow'] & 4 || $code['payNow'] & 2):?>

<div class="errbox roundNormal">&nbsp;&nbsp;&nbsp;没有找到您要支付的订单，订单号是不是记错了？<?php if(!$session['login']):?><br />&nbsp;&nbsp;&nbsp;如果您是我们的会员，在“<a href="/myIndent.php" class="white">我的乐铺</a>”中可以管理您的订单。<?php endif?></div>

<?php
else:
    if ($url) echo "<script type='text/javascript'>location.href='{$url}'</script>";
endif?>

    </div>
</div>

<?php include VIEWS.'copyright.html'?>

</body>
</html>
